package com.xuwang.pojo;

import java.util.Date;

/**
    * 健康表
    */
public class HealthG {
    /**
    * 主键
    */
    private Integer id;

    /**
    * 健康情况
    */
    private String healthCondition;

    /**
    * 健康证号
    */
    private String healthNumber;

    /**
    * 发证日期
    */
    private Date createTime;

    /**
    * 有效开始日期
    */
    private Date validBeginTime;

    /**
    * 有效截止日期
    */
    private Date validEndTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHealthCondition() {
        return healthCondition;
    }

    public void setHealthCondition(String healthCondition) {
        this.healthCondition = healthCondition;
    }

    public String getHealthNumber() {
        return healthNumber;
    }

    public void setHealthNumber(String healthNumber) {
        this.healthNumber = healthNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getValidBeginTime() {
        return validBeginTime;
    }

    public void setValidBeginTime(Date validBeginTime) {
        this.validBeginTime = validBeginTime;
    }

    public Date getValidEndTime() {
        return validEndTime;
    }

    public void setValidEndTime(Date validEndTime) {
        this.validEndTime = validEndTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", healthCondition=").append(healthCondition);
        sb.append(", healthNumber=").append(healthNumber);
        sb.append(", createTime=").append(createTime);
        sb.append(", validBeginTime=").append(validBeginTime);
        sb.append(", validEndTime=").append(validEndTime);
        sb.append("]");
        return sb.toString();
    }
}